package cn.actoncode.boot.module.ai.dal.mapper.intelligentagent;

import cn.actoncode.boot.framework.mybatis.core.mapper.BaseMapperX;
import cn.actoncode.boot.module.ai.dal.dataobject.intelligentagent.IntelligentAgentDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 智能体 Mapper
 *
 * @author bin
 */
@Mapper
public interface IntelligentAgentMapper extends BaseMapperX<IntelligentAgentDO> {

    @Select("SELECT * FROM ai_intelligent_agent WHERE deleted = FALSE LIMIT 1")
    IntelligentAgentDO getIntelligentAgent();
}
